﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data;
using Application;

namespace Business
{
    public static class BusinessNews
    {
        public static List<VONews> GetAllNews()
        {
            return NewsData.GetAllNews();
        }

        public static void AddNews(VONews news)
        {
            NewsData.AddNews(news);
        }

        public static void DeleteNews(string id)
        {
            NewsData.DeleteNews(id);
        }

        public static VONews GetNewsById(string id)
        {
            return NewsData.GetNewsById(id);
        }
        
        public static void UpdateNews(VONews news)
        {
        }
    }
}
